import 'package:get/get_navigation/src/routes/get_route.dart';
import 'package:scanner/main/init/wj_init_binding.dart';
import 'package:scanner/main/init/wj_init_page.dart';
import 'package:scanner/main/tab_bar/wj_tab_binding.dart';
import 'package:scanner/main/tab_bar/wj_tab_page.dart';

import 'main/scanner/wj_scanner_binding.dart';
import 'main/scanner/wj_scanner_page.dart';

/// 路由表
class WJAppRoutes {
  //起始页
  static String appSplash = '/app_splash';

  //引导页
  static String appGuide = '/app_guide';

  //TabBar
  static String appTab = '/app_tab';

  //TabBar
  static String scanner = '/scannerPage';

  static List<GetPage> routes = [

  GetPage(name: appSplash, page: () => const WJInitPage(),binding: WJInitBinding()),
  // GetPage(name: appGuide, page: () => const GuidePage(), binding: MkGuideBinding()),
  GetPage(name: appTab, page: () => const WJTabPage(), binding: WJTabBinding()),

  GetPage(name: scanner, page: () => const WJScannerPage(), binding: WJScannerBinding()),

  ];
}